package com.iron.common.feign.annontion;

import org.springframework.cloud.openfeign.EnableFeignClients;

import java.lang.annotation.*;

/**
 * 自定义 feignClients 启动类注解
 *
 * @author YT
 * @date 2019-06-11
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@EnableFeignClients
public @interface EnableIronFeignClients {

    String[] value() default {};

    String[] basePackages() default {"com.iron"};

    Class<?>[] basePackageClasses() default {};

    Class<?>[] defaultConfiguration() default {};

    Class<?>[] clients() default {};
}
